tools/libfsimage: Fix clean and distclean make targets
authorDaniel Kiper <daniel.kiper@oracle.com>
Fri, 10 May 2013 15:33:54 +0000 (17:33 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 13 May 2013 09:57:17 +0000 (10:57 +0100)
commit667d8a84b244d02e9c6a2d02d6a02fc90c2efb4e
treee4bd697d4875156366ec469e1afc05c8026f866b
parent2569c54743c887ec6fbbba74efe56fb113b933fc
tools/libfsimage: Fix clean and distclean make targets

If there is a single colon for a given target and the target
is redefined in another place (e.g. in included file) then
make executes only new target and displays following warning:

Makefile:35: warning: overriding commands for target `clean'
tools/libfsimage/common/../../../tools/libfsimage/Rules.mk:25:
warning: ignoring old commands for target `clean'

To cope with that issue define all required targets as double-colon
rules. Additionally, remove some redundant stuff.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libfsimage/Rules.mk
tools/libfsimage/common/Makefile